.workflow-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    padding: 16px;
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.workflow-info {
    flex: 1;
}

.workflow-name {
    margin-bottom: 8px;
}

.status-label, .progress-label {
    color: #666;
    font-size: 13px;
    margin-right: 4px;
}

.name-value {
    font-weight: 500;
    color: #333;
}

.workflow-status-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-value {
    color: #1890ff;
    font-size: 13px;
}

.workflow-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.delete-btn {
    padding: 4px 12px;
    background: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background: #ff7875;
}

.delete-btn:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
}

.expand-btn {
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: transform 0.3s;
}

.expand-btn:hover {
    color: #1890ff;
}

.progress-container {
    margin-top: 12px;
}

.progress-info {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.progress-text {
    color: #1890ff;
    font-size: 13px;
}

.progress-bar {
    height: 6px;
    background: #f5f5f5;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #1890ff;
    transition: width 0.3s ease;
}

.status-icon {
    font-style: normal;
    font-size: 14px;
}

.status-icon.completed {
    color: #52c41a;
}

.status-icon.error {
    color: #ff4d4f;
}

.status-icon.in-progress {
    color: #1890ff;
}

.workflow-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.refresh-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.refresh-btn.refreshing {
    pointer-events: none;
    opacity: 0.7;
}

.refresh-btn.refreshing::after {
    content: '⟳';
    display: inline-block;
    margin-left: 5px;
    animation: spin 1s linear infinite;
}

.result-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    font-size: 14px;
}

.result-btn:hover {
    background-color: #45a049;
}

.result-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.result-content {
    margin-top: 10px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    max-height: 300px;
    overflow-y: auto;
} 